package com.youyou.job.admin.dao;

import com.youyou.job.admin.core.model.JobLogReportEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * job log
 * @author xuxueli 2019-11-22
 */
@Mapper
public interface JobLogReportDao {

	public int save(JobLogReportEntity jobLogReportEntity);

	public int update(JobLogReportEntity jobLogReportEntity);

	public List<JobLogReportEntity> queryLogReport(@Param("triggerDayFrom") Date triggerDayFrom,
												   @Param("triggerDayTo") Date triggerDayTo);

	public JobLogReportEntity queryLogReportTotal();

}
